package com.gxa.p2p.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xiangzuo
 * 红包日志
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

@ApiModel("消息推送")
public class Redpaclog implements Serializable  {

  private Long id;
  @ApiModelProperty(name = "name",value = "红包名称")
  private String name;
  @ApiModelProperty(name = "invName",value = "投资人姓名")
  private String invName;
  @ApiModelProperty(name = "invPhone",value = "投资人手机")
  private String invPhone;
  @ApiModelProperty(name = "userOrign",value = "用户来源")
  private String userOrign;
  @ApiModelProperty(name = "colType",value = "获取方式")
  private String colType;
  @ApiModelProperty(name = "colTime",value = "领取时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date colTime;
  @ApiModelProperty(name = "expTime",value = "到期时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date expTime;
  @ApiModelProperty(name = "useTime",value = "使用时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date useTime;
  @ApiModelProperty(name = "markName",value = "投资标名")
  private String markName;
  @ApiModelProperty(name = "annual",value = "年化利率")
  private Double annual;
  @ApiModelProperty(name = "money",value = "投资金额")
  private Double money;
  @ApiModelProperty(name = "income",value = "奖励金额")
  private Double income;
  @ApiModelProperty(name = "state",value = "状态(已使用，已失效，未使用)")
  private String state;

}
